

<template>
<div>子组件</div>
</template>
<script setup lang="ts">
console.log('子组件-setup')

onBeforeMount(()=>{
  console.log('子组件-onBeforeMount')
})

onMounted(()=>{
  console.log('子组件-onMounted')
})
onBeforeUpdate(()=>{
  console.log('子组件-onBeforeUpdate')
})
onUpdated(()=>{
  console.log('子组件-onUpdated')
})
onUnmounted(()=>{
  console.log('子组件-onUnmounted')
})
onBeforeUnmount(()=>{

})
</script>
<style scoped>

</style>
